<?php
	require_once '../connect.php';
	$title=$_GET['title'];
	$query="DELETE FROM library WHERE title='$title'";
	mysqli_query($con,$query);
	if(mysqli_query($con, $query))
	{
		echo "<script>alert('delete success');</script>";
		echo "<script>window.location.href='manage.php';</script>";
	
	}